class CreateContents < ActiveRecord::Migration
  def self.up
    create_table :contents do |t|
      t.integer :article_id
      t.integer :position
      t.string  :language_type
      t.text    :body
      t.timestamps
    end
  end

  def self.down
    drop_table :contents
  end
end
